package com.shuoyue.ycgk.views;

import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;

public class BottomWebView extends WebView {


    public BottomWebView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }


    //实例化WebViwe后，调用此方法可滚动到底部
    public void scrollToBottom() {
        scrollTo(0, computeVerticalScrollRange());
    }

}